<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<div id="boarditemsView_" align=center>
	<form id="viewForm" name="viewForm" method="post">
		<div style="padding: 50px 5px 50px 5px"></div>
		<table style="width: 970px; border: 1px solid red;">


			<tr>
				<td colspan="3" style="width: 582px">게시글
					타이틀:${boarditems.boarditemsTitle}</td>
				<td style="width: 194px">게시판이름:${board.boardName}</td>
				<td align="right" style="width: 194px">날짜: <fmt:formatDate
						value="${boarditems.inputDate }" type="date" dateStyle="full" /></td>
				<!-- | <a href="javascript:boarditemsModify()">수정</a> | 삭제</td> -->
			</tr>

			<tr>
				<td colspan="3">작성자 :${boarditems.memberId}</td>

				<!-- <td colspan="2" style="text-align:right">첨부파일</td> -->
			</tr>

			<tr>
				<td colspan="5" height="150" style="padding: 50px 5px 50px 5px">${boarditems.boarditemsView}</td>
			</tr>

			<tr>
				<!-- <td style="width:194px">덧글</td> -->
				<%-- <td colspan="3" style="text-align: left">조회수${boarditems.boarditemsViewCnt}</td> --%>
				<td align="right">
				    <input type="button" name="button" value="삭제" style="padding: 5px 5px 5px 5px"> 
					<input type="button" name="button" value="목록" style="padding: 5px 5px 5px 5px">
				</td>

			</tr>

			<tr>
				<td colspan="5">
				<div id ="commentList_${boarditems.boarditemsNo}">
					<%@include file="commentslist.jsp" %>
				</div>
				</td>

			</tr>
		</table>
	</form>

</div>

